From d055f8e64c6bb5cc6fff34a01af8005790ef0f7a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 7 Jun 2015 21:13:16 -0400 Subject: [PATCH] entry: Move touch selection a little further away Otherwise, it looks cramped, and we end up under the finger. --- gtk/gtkentry.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 14328aca49..756176f9d8 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -9877,6 +9877,11 @@ bubble_targets_received (GtkClipboard *clipboard, rect.width = 0; } + rect.x -= 5; + rect.y -= 5; + rect.width += 10; + rect.height += 10; + gtk_popover_set_pointing_to (GTK_POPOVER (priv->selection_bubble), &rect); gtk_widget_show (priv->selection_bubble); -- 2.30.2